package org.example.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.order.entity.CartItem;
import java.util.List;

@Mapper
public interface CartItemMapper extends BaseMapper<CartItem> {
    List<CartItem> selectByUserId(Long userId);
    void deleteByUserId(Long userId);
}